package aop;

import aop.obj.A;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/13 16:55
 * @description:
 */
@Configuration
@EnableAspectJAutoProxy
public class AspectConfig {
@Bean
  public A a()
  {
    return new A("hahaha");
  }
}
